package com.ruoyi.vehicle.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 可服务司机设置对象 tb_servability
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TbServability extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务性ID */
    private Long servabilityId;

    /** 城市 */
    @Excel(name = "城市")
    private Long cityId;

    /** 用车时间;0：是；1：否 */
    @Excel(name = "用车时间;0：是；1：否")
    private Long timeId;

    /** 可服务司机数量 */
    @Excel(name = "可服务司机数量")
    private String servabilityNum;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long userId;

    public void setServabilityId(Long servabilityId) 
    {
        this.servabilityId = servabilityId;
    }

    public Long getServabilityId() 
    {
        return servabilityId;
    }

    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }

    public void setTimeId(Long timeId) 
    {
        this.timeId = timeId;
    }

    public Long getTimeId() 
    {
        return timeId;
    }

    public void setServabilityNum(String servabilityNum) 
    {
        this.servabilityNum = servabilityNum;
    }

    public String getServabilityNum() 
    {
        return servabilityNum;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("servabilityId", getServabilityId())
            .append("cityId", getCityId())
            .append("timeId", getTimeId())
            .append("servabilityNum", getServabilityNum())
            .append("createTime", getCreateTime())
            .append("userId", getUserId())
            .toString();
    }
}
